package cn.gz.ibix.ibix_library.account.bean;

import java.util.Date;

import cn.gz.ibix.ibix_library.bean.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 项目名称：backend-server
 * <br>类描述：
 * <br>创建人：htliu
 * <br>创建时间：2019/1/4 13:25
 * <br>修改人:
 * <br>修改时间：2019/1/4 13:25
 * <br>修改备注：
 *
 * @author htliu
 * @date 2019/1/4 13:25
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
public class Account extends BaseEntity {
    private String name;

    private String nickName;

    private String avatar;

    private String password;

    private Status status;

    /**
     * 用户状态
     */
    public enum Status {
        /**
         * 正常状态
         */
        NORMAL,
        /**
         * 冻结账户
         */
        FREEZE
    }
}
